home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
dev
/
lang
/
SmallEiffel.lha
/
SmallEiffel
/
bin_c
/
compile_to_c5.c
< prev
next >
Wrap
C/C++ Source or Header
|
1998-12-22
|
4KB
|
264 lines
/*
-- ANSI C code generated by :
-- SmallEiffel The GNU Eiffel Compiler -- Release (- 0.79) --
-- Copyright (C), 1994-98 - LORIA - UHP - CRIN - INRIA - FRANCE --
-- Dominique COLNET and Suzanne COLLIN - colnet@loria.fr --
-- http://www.loria.fr/SmallEiffel --
*/
#include "compile_to_c.h"
T381 r381realloc(T381 C,T2 a1,T2 a2){
T381 R=NULL;
R=calloc(a2,sizeof(T0*));
r381copy_from(R,C,(a1)-(1));
return R;
}
void r381set_all_with(T381 C,T0* a1,T2 a2){
T2 _i=0;
_i=a2;
while (!((_i)<(0))) {
(C)[_i]=(a1);
_i=(_i)-(1);
}
}
void r381copy_from(T381 C,T381 a1,T2 a2){
T2 _i=0;
_i=a2;
while (!((_i)<(0))) {
(C)[_i]=((a1)[_i]);
_i=(_i)-(1);
}
}
T77 r77realloc(T77 C,T2 a1,T2 a2){
T77 R=NULL;
R=calloc(a2,sizeof(T0*));
r77copy_from(R,C,(a1)-(1));
return R;
}
void r77copy_from(T77 C,T77 a1,T2 a2){
T2 _i=0;
_i=a2;
while (!((_i)<(0))) {
(C)[_i]=((a1)[_i]);
_i=(_i)-(1);
}
}
T209 r209realloc(T209 C,T2 a1,T2 a2){
T209 R=NULL;
R=calloc(a2,sizeof(T0*));
r209copy_from(R,C,(a1)-(1));
return R;
}
void r209clear_all(T209 C,T2 a1){
T2 _i=0;
T0* _v=NULL;
_i=a1;
while (!((_i)<(0))) {
(C)[_i]=(_v);
_i=(_i)-(1);
}
}
void r209set_all_with(T209 C,T0* a1,T2 a2){
T2 _i=0;
_i=a2;
while (!((_i)<(0))) {
(C)[_i]=(a1);
_i=(_i)-(1);
}
}
void r209copy_from(T209 C,T209 a1,T2 a2){
T2 _i=0;
_i=a2;
while (!((_i)<(0))) {
(C)[_i]=((a1)[_i]);
_i=(_i)-(1);
}
}
T335 r335realloc(T335 C,T2 a1,T2 a2){
T335 R=NULL;
R=calloc(a2,sizeof(T0*));
r335copy_from(R,C,(a1)-(1));
return R;
}
void r335set_all_with(T335 C,T0* a1,T2 a2){
T2 _i=0;
_i=a2;
while (!((_i)<(0))) {
(C)[_i]=(a1);
_i=(_i)-(1);
}
}
void r335copy_from(T335 C,T335 a1,T2 a2){
T2 _i=0;
_i=a2;
while (!((_i)<(0))) {
(C)[_i]=((a1)[_i]);
_i=(_i)-(1);
}
}
T383 r383realloc(T383 C,T2 a1,T2 a2){
T383 R=NULL;
R=calloc(a2,sizeof(T0*));
r383copy_from(R,C,(a1)-(1));
return R;
}
void r383set_all_with(T383 C,T0* a1,T2 a2){
T2 _i=0;
_i=a2;
while (!((_i)<(0))) {
(C)[_i]=(a1);
_i=(_i)-(1);
}
}
void r383copy_from(T383 C,T383 a1,T2 a2){
T2 _i=0;
_i=a2;
while (!((_i)<(0))) {
(C)[_i]=((a1)[_i]);
_i=(_i)-(1);
}
}
T329 r329realloc(T329 C,T2 a1,T2 a2){
T329 R=NULL;
R=calloc(a2,sizeof(T0*));
r329copy_from(R,C,(a1)-(1));
return R;
}
void r329clear_all(T329 C,T2 a1){
T2 _i=0;
T0* _v=NULL;
_i=a1;
while (!((_i)<(0))) {
(C)[_i]=(_v);
_i=(_i)-(1);
}
}
void r329set_all_with(T329 C,T0* a1,T2 a2){
T2 _i=0;
_i=a2;
while (!((_i)<(0))) {
(C)[_i]=(a1);
_i=(_i)-(1);
}
}
void r329copy_from(T329 C,T329 a1,T2 a2){
T2 _i=0;
_i=a2;
while (!((_i)<(0))) {
(C)[_i]=((a1)[_i]);
_i=(_i)-(1);
}
}
T323 r323realloc(T323 C,T2 a1,T2 a2){
T323 R=NULL;
R=calloc(a2,sizeof(T0*));
r323copy_from(R,C,(a1)-(1));
return R;
}
void r323copy_from(T323 C,T323 a1,T2 a2){
T2 _i=0;
_i=a2;
while (!((_i)<(0))) {
(C)[_i]=((a1)[_i]);
_i=(_i)-(1);
}
}
T91 r91realloc(T91 C,T2 a1,T2 a2){
T91 R=NULL;
R=calloc(a2,sizeof(T0*));
r91copy_from(R,C,(a1)-(1));
return R;
}
void r91set_all_with(T91 C,T0* a1,T2 a2){
T2 _i=0;
_i=a2;
while (!((_i)<(0))) {
(C)[_i]=(a1);
_i=(_i)-(1);
}
}
void r91copy_from(T91 C,T91 a1,T2 a2){
T2 _i=0;
_i=a2;
while (!((_i)<(0))) {
(C)[_i]=((a1)[_i]);
_i=(_i)-(1);
}
}
T337 r337realloc(T337 C,T2 a1,T2 a2){
T337 R=NULL;
R=calloc(a2,sizeof(T0*));
r337copy_from(R,C,(a1)-(1));
return R;
}
void r337set_all_with(T337 C,T0* a1,T2 a2){
T2 _i=0;
_i=a2;
while (!((_i)<(0))) {
(C)[_i]=(a1);
_i=(_i)-(1);
}
}
void r337copy_from(T337 C,T337 a1,T2 a2){
T2 _i=0;
_i=a2;
while (!((_i)<(0))) {
(C)[_i]=((a1)[_i]);
_i=(_i)-(1);
}
}